package com.xiannimei;

import java.util.ResourceBundle;

public class Constants {

	public static String MSG_BUNDEL_PATH = "messages/message";

	public static ResourceBundle config = ResourceBundle.getBundle("config/config_constants");
	public static ResourceBundle msg = ResourceBundle.getBundle(MSG_BUNDEL_PATH);

	public static String getConfig(String key) {
		return config.getString(key);
	}

	public static final String SESSION_LATEST_VIEW_URL = "session.latest.url";
	
	public static final String SESSION_USER_CONTEXT = "session.user.context";

	public static final String COOKIE_ENCRYPTLOGINNAME = "myshop.encryptloginname";

	public static final String DEFAULT_LOGINED_URL = "/";

	public static final String SESSION_OP = "oauthprofile";
}
